home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / DEV / A-B / 002. TESample.cpt / CTESample.make < prev    next >
Text File  |  1988-08-01  |  2KB  |  68 lines

  1. #
  2. #    Apple Macintosh Developer Technical Support
  3. #
  4. #    MultiFinder-Aware Simple TextEdit Sample Application
  5. #
  6. #    TESample
  7. #
  8. #    CTESample.make    -    Make Source
  9. #
  10. #    Copyright © 1988 Apple Computer, Inc.
  11. #    All rights reserved.
  12. #
  13. #    Versions:    1.0                    8/88
  14. #
  15. #    Components:    TESample.p            August 1, 1988
  16. #                TESample.c            August 1, 1988
  17. #                TESample.a            August 1, 1988
  18. #                TESample.r            August 1, 1988
  19. #                TESample.h            August 1, 1988
  20. #                PTESample.make        August 1, 1988
  21. #                CTESample.make        August 1, 1988
  22. #
  23. #    TESample is an example application that demonstrates how 
  24. #    to initialize the commonly used toolbox managers, operate 
  25. #    successfully under MultiFinder, handle desk accessories and 
  26. #    create, grow, and zoom windows. The fundamental TextEdit 
  27. #    toolbox calls and TextEdit autoscroll are demonstrated. It 
  28. #    also shows how to create and maintain scrollbar controls.
  29. #
  30. #    It does not by any means demonstrate all the techniques you 
  31. #    need for a large application. In particular, Sample does not 
  32. #    cover exception handling, multiple windows/documents, 
  33. #    sophisticated memory management, printing, or undo. All of 
  34. #    these are vital parts of a normal full-sized application.
  35. #
  36. #    This application is an example of the form of a Macintosh 
  37. #    application; it is NOT a template. It is NOT intended to be 
  38. #    used as a foundation for the next world-class, best-selling, 
  39. #    600K application. A stick figure drawing of the human body may 
  40. #    be a good example of the form for a painting, but that does not 
  41. #    mean it should be used as the basis for the next Mona Lisa.
  42. #
  43. #    We recommend that you review this program or Sample before 
  44. #    beginning a new application. Sample is a simple app. which doesn’t 
  45. #    use TextEdit or the Control Manager.
  46. #
  47.  
  48.  
  49. # MPW 3.0 and later: We override the default COptions to turn on strict prototyping;
  50. #    add '-r' to your UserStartup when you tire of the warning from Make.
  51. # If you are using MPW 3.0 or later, uncomment the following line:
  52. #COptions = -d MPW3 -r    # define MPW3, turn on strict prototyping (-r option)
  53. # For MPW 2.0 we use the following line so that the the complete interfaces are there:
  54. COptions = -d __ALLNU__
  55.  
  56. CObjs    =    TESample.c.o ∂
  57.             TESample.a.o ∂
  58.             "{CLibraries}"CRuntime.o ∂
  59.             "{CLibraries}"CInterface.o ∂
  60.             "{Libraries}"Interface.o
  61.  
  62. CTESample        ƒƒ {CObjs} CTESample.make
  63.         Link -o {Targ} {CObjs}
  64.         SetFile {Targ} -t APPL -c 'MOOT' -a B
  65.  
  66. CTESample        ƒƒ TESample.r TESample.h CTESample.make
  67.         Rez -rd -append -o {Targ} TESample.r
  68.